class Applicant {
    /**
     * 申请人id
     */
    applicantId: number | null = null;

    /**
     * 姓名
     */
    name: string | null = null;
    insId:number=null;//所属的申请机构
    /**
     * 身份证号
     */
    idNum: string | null = null;

    /**
     * 身份证照片
     */
    idImg: string | null = null;

    /**
     * 手机号
     */
    phone: string | null = null;

    /**
     * 电子邮箱
     */
    email: string | null = null;

    /**
     * 律师证号 
     */
    lawnNum: string | null = null;

    /**
     * 律师事务所
     */
    lawnSite: string | null = null;

    /**
     * 创建时间
     */
    createdTime: string | null = null;

    constructor(applicantId?: number, name?: string, idNum?: string, idImg?: string,
                phone?: string, email?: string, lawnNum?: string, lawnSite?: string,
                createdTime?: string) {
        this.applicantId = applicantId ?? null;
        this.name = name ?? null;
        this.idNum = idNum ?? null;
        this.idImg = idImg ?? null;
        this.phone = phone ?? null;
        this.email = email ?? null;
        this.lawnNum = lawnNum ?? null;
        this.lawnSite = lawnSite ?? null;
        this.createdTime = createdTime ?? null;
    }
}


/**
 * 申请人 （金融机构代理人）
 */
export default Applicant;